import { S } from '../../s';
import { IPSChartSeriesFunnel } from './ipschart-series-funnel';
import { PSDEChartSeriesCSNoneImplBase2 } from './psdechart-series-csnone-impl-base2';

export class PSDEChartSeriesFunnelImpl
  extends PSDEChartSeriesCSNoneImplBase2
  implements IPSChartSeriesFunnel
{
  get funnelAlign(): string {
    return this.M.funnelAlign;
  }

  get maxSize(): IModel {
    return this.M.maxSize;
  }

  get maxValue(): number {
    return this.M.maxValue;
  }

  get minSize(): IModel {
    return this.M.minSize;
  }

  get minValue(): number {
    return this.M.minValue;
  }
  get cls(): string {
    return 'PSDEChartSeriesFunnelImpl';
  }
  instanceof(cls: string): boolean {
    if (
      cls == S._3f7 ||
      cls == S._3f8 ||
      cls == S._114 ||
      cls == S._115 ||
      cls == S._7 ||
      cls == S._11a ||
      cls == S._11c ||
      cls == S._11f
    )
      return true;
    return super.instanceof(cls);
  }
}
